<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="header.jsp"></jsp:include>
<div id="wrapper">
	<div id="inner" class="clearfix">
		<jsp:include page="left.jsp"></jsp:include>
		<div id="content">
			<p class="breadcrumb">
				<a href="student_login.jsp"
					title="Return to the home page">Home</a> &gt; 修改个人信息
			</p>
            <h2 class="smaller">
				这里是你的个人信息中心，请核对好个人信息
			</h2>
			<div class="float-left max">
				
				<s:debug></s:debug>
				<form action="student_modify.action" method="post" id="creative-form">
					  <input type="hidden" name="id" value="${requestScope.student.id}" />
					<table border="0" cellpadding="0" cellspacing="0" width="400">
						<tr>
							<td valign="top">
								<label for="name">
									学号:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="studentNum" id="studentNum" maxlength="100" value="${requestScope.student.studentNum}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="name">
									姓名:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="name" id="name" maxlength="100" value="${requestScope.student.name}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="password">
									密码:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="password" id="password" maxlength="200" value="" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="sex">
									性别:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<label>
								<input type="radio" name="sex" value="男"
									<s:if test='#request.student.sex == "男"' > checked="checked" </s:if> />
								男
								</label>
								<label>
								<input type="radio" name="sex" value="女"
									<s:if test='#request.student.sex == "女"' > checked="checked" </s:if> />
								女
								</label>
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="email">
									专业:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="major" id="major" maxlength="200" value="${requestScope.student.major}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="email">
									班级:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="className" id="className" maxlength="200" value="${requestScope.student.className}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="telephone">
									联系电话:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="telphone" id="telphone" maxlength="200" value="${requestScope.student.telphone}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="email">
									联系QQ:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="qq" id="qq" maxlength="200" value="${requestScope.student.qq}" />
							</td>
						</tr>
						<tr>
							<td valign="top">
								<label for="email">
									Email:
									<span>*</span>
								</label>
							</td>
							<td align="right">
								<input type="text" name="email" id="email" maxlength="200" value="${requestScope.student.email}" />
							</td>
						</tr>
						
						<tr>
							<td align="right" colspan="2" align="left">
								<input type="submit" name="submitFlag" value="更新" />
							</td>
						</tr>
					</table>
				</form>
			</div>
			<div class="float-right min">
				<h2 class="no-space">
					注意：
				</h2>
				<ul class="list2">
					<li>
						所有信息都是必填的，请及时核对!
					</li>
					<li>
						密码为空，表示不修改！
					</li>
					<li>
						请填写常用邮箱！用于接收系统自动发送学生选课信息！
					</li>
					<li>
						如有其他问题，及时联系管理老师！
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<jsp:include page="footer.jsp"></jsp:include>